﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IGolovkine.ShoutCastRipper
{
    public class FileCommandExecutionErrorEventArgs : EventArgs
    {
        private readonly IFileCommand _command;
        private readonly Exception _exception;

        public FileCommandExecutionErrorEventArgs(IFileCommand command, Exception exception)
        {
            _command = command;
            _exception = exception;
        }

        public IFileCommand FileCommand
        {
            get { return _command; }
        }

        public Exception Exception
        {
            get { return _exception; }
        }
    }
}
